import {
  Package_Name,
  // =======
  // * API *
  // =======
  // **
  // Consts
  // **
  // CSS
  CSSGlobal_Name,
  CSSWhiteSpace_Name,
  CSSWordBreak_Name,
  // size
  ResponsiveWidthConst_Name,
  // **
  // Utils
  // **
  // el
  ElUtil_Name,
  // el-evt
  ElEvtUtil_Name,
  // size
  SizeUtil_Name,
  // =======
  // * 类型 *
  // =======
  // **
  // Consts
  // **
  // CSS
  CSSGlobalType_Name,
  CSSWhiteSpaceType_Name,
  CSSWordBreakType_Name,
  // size
  ResponsiveWidthConstType_Name,
  // **
  // Utils
  // **
  // el
  GetIdxInParentType_Name,
  GetNextElType_Name,
  GetParentChildrenWidthType_Name,
  GetPreviousElType_Name,
  IsContactNextType_Name,
  IsContactPreviousType_Name,
  // el-evt
  AddMouseMoveEvtListenerType_Name,
  AddTouchMoveEvtListenerType_Name,
  // size
  SizeUnitPreHandlerType_Name
} from '@xtail/ui'
import { AutoImportUtil } from '@xtail/unplugin'

export const XTailUIAutoImports = () =>
  AutoImportUtil.genAutoImports(Package_Name, [
    CSSGlobal_Name,
    CSSWhiteSpace_Name,
    CSSWordBreak_Name,
    ResponsiveWidthConst_Name,
    ElUtil_Name,
    ElEvtUtil_Name,
    SizeUtil_Name
  ])

export type XTailUIAutoImportsType = typeof XTailUIAutoImports

export const XTailUITypeAutoImports = () =>
  AutoImportUtil.genTypeAutoImports(Package_Name, [
    CSSGlobalType_Name,
    CSSWhiteSpaceType_Name,
    CSSWordBreakType_Name,
    ResponsiveWidthConstType_Name,
    GetIdxInParentType_Name,
    GetNextElType_Name,
    GetParentChildrenWidthType_Name,
    GetPreviousElType_Name,
    IsContactNextType_Name,
    IsContactPreviousType_Name,
    AddMouseMoveEvtListenerType_Name,
    AddTouchMoveEvtListenerType_Name,
    SizeUnitPreHandlerType_Name
  ])

export type XTailUITypeAutoImportsType = typeof XTailUITypeAutoImports
